package com.svmc.app.task.utils;

public class UtilString {
	
	/**
	 *  format String for input database
	 * @param title
	 * @param path
	 * @return
	 */
	public String formatStringPutData (String title,String path){
		return title+":"+path;
	}
	
	/**
	 *  get title from colum path in database
	 */
	public String getTitleRing(String pathData){
		String [] temp;
		temp = pathData.split(":");
		return temp[0];
	}
	/**
	 * get path Ring form colum path in database
	 */
	public String getPathRing (String pathData){
		String []temp;
		temp = pathData.split(":");
		return temp[1];
	}
}
